#ifndef MODDATA_H
#define MODDATA_H

#include <QDialog>
#include "grouplist.h"

namespace Ui {
class moddata;
}

class moddata : public QDialog
{
    Q_OBJECT

public:
    explicit moddata(QString lag,QString str,QWidget *parent = 0);
    ~moddata();
    void switch_language(QString language);
    QString value_to_index(QString type,QString value);

private slots:
    void deal_combox_power(QString str);
    void deal_combox_colorcode(QString str);
    void deal_combox_mode(QString str);
    void deal_combox_call(QString str);
    void deal_combox_outputtime(QString str);
    void deal_combox_inputtime(QString str);
    void deal_combox_volume(QString str);
    void deal_combox_gain(QString str);
    void deal_group_list(QString str);
    void on_pushButton_clicked();

    void on_pushButton_2_clicked();

private:
    Ui::moddata *ui;
    QString name;
    QString recvfreq;
    QString sendfreq;
    QString id;
    QString power;
    QString colorcode;
    QString mode;
    QString call;
    QString output;
    QString input;
    QString volume;
    QString gain;
    QString type;
    QString no;
    QString areano;
    QString language;
    QString num;
    QString llist;
    QString key;
    QString lencrypt;
    QString slist;

signals:
    void send_str(QString str);

};

#endif // MODDATA_H
